﻿@model FlitBit.Dto.ModelBinding.Sample.Models.IPerson

@{
	ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
	<legend>IPerson</legend>

	<div class="display-label">
		@Html.DisplayNameFor(model => model.Name)
	</div>
	<div class="display-field">
		@Html.DisplayFor(model => model.Name)
	</div>

	<div class="display-label">
		@Html.DisplayNameFor(model => model.BirthDate)
	</div>
	<div class="display-field">
		@Html.DisplayFor(model => model.BirthDate)
	</div>

	<div class="display-label">
		@Html.DisplayNameFor(model => model.HasBeens)
	</div>
	<div class="display-field">
		@Html.DisplayFor(model => model.HasBeens)
	</div>
</fieldset>
@using (Html.BeginForm())
{
	<p>
		<input type="submit" value="Delete" /> |
		@Html.ActionLink("Back to List", "Index")
	</p>
}
